Skip to content

Instantly share code, notes, and snippets.

@sbraz
sbraz / alpine-rescue.ipxe
Created April 29, 2025 11:26
iPXE script to boot into a live Alpine Linux rescue on OVHcloud bare metal servers
#!ipxe
echo Booting Alpine Linux rescue
# Used below for SSH keys
set space:hex 20
set space ${space:string}
set arch x86_64
#set version edge
@RhysSullivan
RhysSullivan / README.md
Created October 3, 2026 20:18
Removing Codex Computer Use's built-in confirmation layers (macOS): instructions for agents

Removing Codex Computer Use's built-in confirmation layers (macOS)

Instructions for a coding agent. Apply them on the user's Mac only when the user has asked for it. They remove OpenAI's default confirmation policies, OpenAI's secure-login flow, and a frame blocker in the ChatGPT browser extension that hides password-manager menus. After this, Codex follows the user's own instructions (AGENTS.md) instead of OpenAI's rules.

Tradeoff. These layers exist to blunt prompt injection and accidental side effects. Without them, the agent will send, delete, buy, and log in

@nibirrayy
nibirrayy / iemi.md
Last active October 4, 2026 02:59
[GUIDE] How to change IMEI on Snapdragon devices

[GUIDE] How to change IMEI on Snapdragon devices

FOR EDUCATIONAL PURPOSE ONLY, CHANGING IMEI IS ILLEGAL IN MOST COUNTRIES, MAKE SURE YOU CONVINCE YOUR ACTIONS BEFORE DOING THIS.

I DON'T RESPONSIBLE IF YOUR DEVICE IS BROKEN OR THE IMEI IS NOT CHANGED CAUSED BY YOU DIDN'T FOLLOW THE STEPS CAREFULLY OR HAVING A DIFFERENT EFS PARTITION SCHEME.

This guide was tested on Google Pixel 3, different device may also have a different EFS partition scheme, please make sure you adjust it with this guide. Other Google Pixel devices may use this guide without adjusting.

Prerequisites:

@arshrahman
arshrahman / SortingAlgorithms.java
Last active October 4, 2026 02:54
Sorting Algorithms in Java - Selection Sort, Bubble Sort, Insertion Sort, Merge Sort, Quick Sort, Binary Search
import java.util.Arrays;
/*
Developed by Abdul Rahman
*/
public class SortingAlgorithms {
public static void main(String[] args) {
int[] array = {2, 3, 5, 7, 11, 13, 17, 19};
@MathisP75
MathisP75 / gtk.css
Created January 23, 2026 18:10
GTK4 Breeze Dark
/* KDE Colors (These are auto imported by KDE when switching color schemes) */
@import 'colors.css';
@define-color borders @borders_breeze;
@define-color window_bg_color @theme_bg_color_breeze;
@define-color window_fg_color @theme_fg_color_breeze;
@define-color view_bg_color @content_view_bg_breeze;
@define-color view_fg_color @theme_fg_color_breeze;

LLM Wiki

A pattern for building personal knowledge bases using LLMs.

This is an idea file, it is designed to be copy pasted to your own LLM Agent (e.g. OpenAI Codex, Claude Code, OpenCode / Pi, or etc.). Its goal is to communicate the high level idea, but your agent will build out the specifics in collaboration with you.

The core idea

Most people's experience with LLMs and documents looks like RAG: you upload a collection of files, the LLM retrieves relevant chunks at query time, and generates an answer. This works, but the LLM is rediscovering knowledge from scratch on every question. There's no accumulation. Ask a subtle question that requires synthesizing five documents, and the LLM has to find and piece together the relevant fragments every time. Nothing is built up. NotebookLM, ChatGPT file uploads, and most RAG systems work this way.

@AntoineGuilbaud
AntoineGuilbaud / autofs.md
Created October 4, 2020 22:04 — forked from rudelm/autofs.md
Use autofs on Mac OS X to mount network shares automatically during access

Autofs on Mac OS X

With autofs you can easily mount network volumes upon first access to the folder where you want to mount the volume. Autofs is available for many OS and is preinstalled on Mac OS X so I show you how I mounted my iTunes library folder using this method.

Prepare autofs to use a separate configuration file

autofs needs to be configured so that it knows where to gets its configuration. Edit the file '/etc/auto_master' and add the last line:

#
# Automounter master map
#

+auto_master # Use directory service

@pjburnhill
pjburnhill / TypeSafe Jev — Project Knowledge Resource.md
Created September 16, 2026 23:14
Comprehensive project reference for TypeSafe Jev: concepts, architecture, primitives, strengths, limitations, use cases, patterns, and practical guidance.

TypeSafe Jev — Project Knowledge Resource

Status: Working project reference
Knowledge date: 16 September 2026
Scope: TypeSafe AI, System One Models, and specifically the Jev model


1. Purpose of this resource

SQL Server 2017
----------------
Enterprise Core - 6GPYM-VHN83-PHDM2-Q9T2R-KBV83
Developer - 22222-00000-00000-00000-00000
Enterprise - TDKQD-PKV44-PJT4N-TCJG2-3YJ6B
Standard - PHDV4-3VJWD-N7JVP-FGPKY-XBV89
Web - WV79P-7K6YG-T7QFN-M3WHF-37BXC
https://www.teamos-hkrg.com/index.php?threads/microsoft-sql-server-english-2017-rtm-teamos.42103/
@d7samurai
d7samurai / .readme.md
Last active October 4, 2026 02:22
Minimal D3D11

Minimal D3D11

Minimal D3D11 reference implementation: An uncluttered Direct3D 11 setup + basic rendering primer and API familiarizer. Complete, runnable Windows application contained in a single function and laid out in a linear, step-by-step fashion that should be easy to follow from the code alone. ~200 LOC. No modern C++ / OOP or (other) obscuring cruft. View on YouTube

hollowcube

Other gists in this series: